POV-Ray : Newsgroups : povray.advanced-users : Volume-preserving blob : Re: Volume-preserving blob Server Time
29 Jul 2024 12:26:04 EDT (-0400)
  Re: Volume-preserving blob  
From: Retsam
Date: 12 Mar 2003 19:25:07
Message: <web.3e6fcf6e4cdcaf4d2a3ff2e70@news.povray.org>
>Actually, I was bothered by this as well, and came up with my own equation
>that matches 1st AND 2nd derivatives to 0 at the center and the edge of the
>blob component.
>.......
>My function uses the following equation:
>1.0 - (6*r^5 - 15*r^4 + 10*r^3)
>

I didn't realize that there were more replies after the first page of ten
(I'm new to this newsgroup thing), and apparently I'm not the first that
came up with this particular equation.  That being said, I think it would
be worth hardcoding this particular equation for speed, the way the
standard blob function is hardcoded and optimized.  We could call it blob2!
 Or smooth_blob!


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.